/**
 * 
 */
package com.cloud.model;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author iceworld
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document
public class Template implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1946579239823440392L;
	@Id
	private String id;
	private String name;
	private String code;
	private String userid;
	private String groupid;
	private String description;
	private String templettext;
	private String templettype; // List OR Preview
	private Date createtime = new Date();
	private String orgi;
	private String iconstr; // 模板图标
	private String memo; // 模板说明内容
	private String typeid;// 分组id

	public String getOrgi() {
		return orgi;
	}

	public void setOrgi(String orgi) {
		this.orgi = orgi;
	}
}
